import 'package:school_assistant/generated/json/base/json_field.dart';
import 'package:school_assistant/generated/json/base_data_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class BaseDataEntity {
	bool? status;
	String? message;
	String? data;

	BaseDataEntity();

	factory BaseDataEntity.fromJson(Map<String, dynamic> json) => $BaseDataEntityFromJson(json);

	Map<String, dynamic> toJson() => $BaseDataEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}